package com.transaction.demo;

import com.transaction.demo.order.controller.OrderController;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;

import java.io.File;

/**
 * 描述：分布式事务订单服务
 * 作者：马庆智
 * 日期：2023/3/28 9:30
 */
@Slf4j
@SpringBootApplication
@EnableFeignClients
public class OrderApplication implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }

    @Override
    public void run(String... args) throws Exception {

        log.info("订单服务已启动!");
    }

}